<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
 <head> 
  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
  <title>Fly社区的登录页面</title>
 
  <link rel="stylesheet" href="/mephp/project1/Public/css/font_1466258017_0700355.css">
  <link rel="stylesheet" href="/mephp/project1/Public/css/global.css">
  <link rel="stylesheet" href="/mephp/project1/Public/layui/css/layui.css">

 </head>
 <body>
  <div class="header"> 
   <div class="main"> 
    <a class="logo" href="/mephp/project1" title="Fly">Fly社区</a> 
    <div class="nav"> 
     <a href="<?php echo U('home/qa/index');?>"> <i class="iconfont icon-wenda"></i>问答 </a> 
     <a href="http://www.layui.com/"> <i class="iconfont icon-ui"></i>框架 </a> 
    </div> 


    <?php if(isset($_SESSION['uid'])){ ?>
      <div class="nav-user"> 
        <a class="avatar" href="<?php echo U('home/user/index');?>"> 
          
            <?php if (substr($_SESSION['face'], 0,4)=='http'){?>
              <img src="<?php echo $_SESSION['face']?>" /> 
            <?php } else {?>
              <img src="/mephp/project1/<?php echo $_SESSION['face']?>" />
            <?php }?>
          
          <cite><?php echo $_SESSION['nikename'] ?></cite>  
        </a> 
        <div class="nav"> 
          <a href="<?php echo U('home/user/set');?>">
            <i class="iconfont icon-shezhi"></i>设置
          </a> 
          <a href="<?php echo U('home/user/loginout');?>">
            <i class="iconfont icon-tuichu" style="top: 0; font-size: 22px;"></i>退了
          </a> 
        </div> 
      </div>
    <?php }else{ ?>
      <div class="nav-user" style="line-height: 24px;"> 
        <a class="unlogin" href="http://fly.layui.com/user/login/">
          <i class="iconfont icon-touxiang"></i>
        </a> 
        <span>
          <a href="<?php echo U('home/login/index');?>">登入</a>
          <a href="<?php echo U('home/register/index');?>">注册</a>
        </span> 
       <p class="out-login"> 
         <a href="<?php echo U('home/login/qqsend');?>" onclick="layer.msg('正在通过QQ登入', {icon:16, shade: 0.1, time:0})" class="iconfont icon-qq" title="QQ登入">
         </a> 
         <a href="http://fly.layui.com:8098/app/weibo/" onclick="layer.msg('正在通过微博登入', {icon:16, shade: 0.1, time:0})" class="iconfont icon-weibo" title="微博登入">
         </a> 
       </p> 
    </div>
    <?php  } ?>
     



     
   </div>
  </div>
  
  <div class="fly-home" style="background-image: url();"> 
  	<?php if (substr($_SESSION['face'], 0,4)=='http'){?>
    	<img src="<?php echo $_SESSION['face']?>" alt="$_SESSION['nikename']" />  
    <?php } else {?>
    	<img src="/mephp/project1/<?php echo $_SESSION['face']?>" alt="$_SESSION['nikename']" /> 
    <?php }?>




   
   <h1> <?php echo $_SESSION['nikename'] ?><i class="iconfont     "></i> </h1> 
   <div class="layui-main"> 
    <p style="display: inline-block; max-width: 800px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #999; margin-top: 10px;"><?php echo $_SESSION['signname'] ?></p> 
   </div> 
   <!--<div class="fly-sns">    <span lay-event="">添加好友</span>  </div>-->
  </div>




  <div class="main layui-clear"> 
   <div class="fly-main layui-clear"> 
    <div class="home-nav"> 
     <a href="">主页</a> 
     <!--<a href="">求解</a>--> 
    </div> 
    <div class="home-left"> 
     <h2>最近发表的求解</h2> 
     <ul class="jie-row"> 
      <li class="fly-none" style="min-height: 50px; padding:30px 0; height:auto;"><i style="font-size:14px;">没有发表任何求解</i></li> 
     </ul> 
     <h2 style="margin-top:30px;">最近的回答</h2> 
     <ul class="home-jieda"> 
      <li class="fly-none" style="min-height: 50px; padding:30px 0; height:auto;"><span>没有回答任何问题</span></li> 
     </ul> 
    </div> 
    <div class="home-right"> 
     <ul class="home-info"> 
      <li><i class="iconfont icon-zuichun"></i>拥有飞吻：<span style="color: #FF7200;">100</span></li> 
      <li><i class="iconfont icon-shijian"></i>加入时间：<span>7小时前</span></li> 
      <li><i class="iconfont icon-chengshi"></i>城市：<span>广州</span></li> 
     </ul> 
     <!-- layer-300*250 --> 
     <ins class="adsbygoogle" style="display:inline-block;width:300px;height:250px" data-ad-client="ca-pub-6111334333458862" data-ad-slot="2182025432"></ins> 
    </div> 
   </div>
  </div>




  <div class="footer"> 
   <p><a href="http://fly.layui.com/">Fly社区</a> 2016 &copy; <a href="http://www.layui.com/">layui.com</a> <a href="https://github.com/layui/fly" target="_blank">获取Fly社区模版</a></p> 
   <p> <a href="http://fly.layui.com/auth/get" target="_blank">产品授权</a> <a href="http://fly.layui.com/jie/3147.html" target="_blank">VIP说明</a> 
    <!--<a href="javascript:layer.msg('暂无此页');">关于我们</a>--> <a href="http://sentsin.com/cooperation.html" target="_blank">商务合作</a> <a href="http://weibo.com/SentsinXu" target="_blank" rel="nofollow">微博</a> <a href="http://fly.layui.com/jie/2461.html" target="_blank">微信公众号</a> </p>
  </div>
  <ul class="fly-rbar">
   <li class="iconfont icon-huizongzuoyoutuodong" method="stretch"></li>
   <li id="F_topbar" class="iconfont icon-top" method="top"></li>
  </ul>
 </body>




</html>